package com.duoduo.common.util.importor;


import com.duoduo.common.util.aspectj.DistributedLockAdvice;
import com.duoduo.common.util.aspectj.DistributedLockListAdvice;
import org.springframework.context.annotation.Bean;

public class DistributedLockConfig {
	
	@Bean
	public DistributedLockAdvice distributedLockAdvice(){
		return new DistributedLockAdvice();
	}
	
	@Bean
	public DistributedLockListAdvice distributedLockListAdvice(){
		return new DistributedLockListAdvice();
	}

}
